<?php
class Trim implements iFilter
{
	public function applyFilter($echo)
	{
		$echo['comment'] = trim($echo['comment']);
		$echo['nickname'] = trim($echo['nickname']);
		$echo['replyto'] = trim($echo['replyto']);
		$echo['selfnick'] = trim($echo['selfnick']);
		
		return $echo;
	}
}
?>